//mock pos client 

import { FrontNotifyClient } from '../index';

let fnc = new FrontNotifyClient({
    fnsHostName: "http://localhost",
    fnsPort: 5050,
    clientId: "demostorePos0001"
});

fnc.onConnect = () => {
    console.log("连接FNS服务器成功！");
    fnc.RegistMessageHandler("orderChecked", (param1) => {
        console.log(param1);
    });
}


